From 812afd6e4aeee07f08cf3682702f76ce4ebca50e Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sat, 24 Feb 2001 17:07:17 +0000 Subject: [PATCH] (where_is_internal): Accept non-ascii integer prefixes. --- src/keymap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/keymap.c b/src/keymap.c index dea2515890b..5493bc583c8 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -2102,10 +2102,11 @@ where_is_internal (definition, keymaps, firstonly, noindirect) last_is_meta = (XINT (last) >= 0 && EQ (Faref (this, last), meta_prefix_char)); - if (nomenus && !ascii_sequence_p (this)) + /* if (nomenus && !ascii_sequence_p (this)) */ + if (nomenus && XINT (last) >= 0 && !INTEGERP (Faref (this, 0))) /* If no menu entries should be returned, skip over the keymaps bound to `menu-bar' and `tool-bar' and other - non-ascii prefixes. */ + non-ascii prefixes like `C-down-mouse-2'. */ continue; QUIT; -- 2.30.2